package org.wishwork;

import lombok.*;

/**
 * @description: 聚水潭配置类
 * @author: WangYX
 * @create: 2022-04-01 15:25
 * @Version: 1.0.0
 **/
@EqualsAndHashCode
@ToString
@Getter
@Builder
public class JSTProperties {

    /**
     * API请求地址
     */
    @Builder.Default
    private final String serverUrl = "https://openapi.jushuitan.com";

    /**
     * 开放平台地址
     */
    @Builder.Default
    private final String openWebUrl = "https://openweb.jushuitan.com";

    /**
     * 应用的appKey
     */
    @NonNull
    private String appKey;

    /**
     * 应用的appSecret
     */
    @NonNull
    private String appSecret;

    /**
     * 回调验证是否开启
     */
    @Builder.Default
    private Boolean signature = false;
}
